/**
*
*	\file uart1.h
*	\author Manish Shakya 
*	\brief
*	\date  Tuesday,October 27,2009
*	\version 1.0
*
*
*/
#ifdef __UART1__
	
		void uart1_init(void);
		char uart1_put_char(char c);
		unsigned char uart1_char(void);
		void uart1_put_str(char * str);
		void uart1_put(void * str,uint32_t len);
		unsigned char uart1_get_char(void);
		
		void uart1_tx_isr(void);
		void uart1_rx_isr(unsigned char c);
		void uart1_error_isr(void);
	 	#define UART1_INT_SEND_BYTE(X)	{U1THR=(X);}	
	   	#if UART1_DEBUG==1 
			#define TRACE_INIT() {uart1_init();}
		#endif
#endif


